import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqIntHelper } from "../Public/SeqIntHelper";
type int = number;
//class SPetSpecialSkill
    
    export  class SPetSpecialSkill
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.index);
            arg1.writeInt(this.level);
            arg1.writeInt(this.expirence);
            arg1.writeBool(this.hasUse);
            SeqIntHelper.write(arg1, this.skills);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.index = arg1.readInt();
            this.level = arg1.readInt();
            this.expirence = arg1.readInt();
            this.hasUse = arg1.readBool();
            this.skills = SeqIntHelper.read(arg1);
            return;
        }

        public /* var */index: int;

        public /* var */level: int;

        public /* var */expirence: int;

        public /* var */hasUse: Boolean;

        public /* var */skills: Array<any>;
    }
